﻿using Transformable_Engine_v2.Engine.Transformable_Math.Geometry;

namespace AngryManagementMayhem.Controller.Map
{
    public class CollisionDescription
    {
        public TE_Vector2 CollisionOffset { get; private set; }

        public enum CollisionPoint
        {
            TopLeft,
            TopRight,
            BottomLeft,
            BottomRight,
            Bottom,
            Unknown,
        }

        public CollisionPoint Point { get; private set; }
        public CollisionDefinition CollisionTile{ get; private set; }

        public CollisionDescription(TE_Vector2 collisionOffset,
                                    CollisionDefinition tile,
                                    CollisionPoint point)
        {
            CollisionOffset = collisionOffset;
            
            Point = CollisionPoint.Unknown;
            CollisionTile = tile;
            Point = point;
        }
    }
}